package com.zatech.cgnci.project.mapper;

import com.zatech.cgnci.project.dto.CgnciClaimAlertInfoDTO;
import com.zatech.cgnci.project.entity.CgnciClaimAlertInfoDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 理赔案件警示信息表 Mapper 接口
 * </p>
 *
 * @author Generator
 * @since 2024-12-23
 */
@Mapper
public interface CgnciClaimAlertInfoMapper extends BaseMapper<CgnciClaimAlertInfoDO> {

    List<CgnciClaimAlertInfoDTO> getByBusinessNo(@Param("businessNo") String businessNo,
                                                 @Param("businessScene") String businessScene);

    void clearAlertInfoByBusinessNo(@Param("businessNo") String businessNo,
                                    @Param("businessScene") String businessScene);


    void clearAlertInfoThreeFactor(@Param("businessNo") String businessNo,
                                    @Param("businessScene") String businessScene,
                                    @Param("businessSceneType") String businessSceneType);
}
